package com.neusoft.nep;
import com.neusoft.nep.admin.entity.Administrator;
import com.neusoft.nep.admin.entity.Feedback;
import com.neusoft.nep.common.FileUtils;
import javafx.application.Application;
import javafx.fxml.FXMLLoader;
import javafx.scene.Parent;
import javafx.scene.Scene;
import javafx.stage.Stage;

import java.net.URL;
import java.util.Map;


public class Mainlogin extends Application {
    public static void main(String[] args) {
        launch(args);
    }
    public void start(Stage stage) throws Exception {
        FXMLLoader fxmlLoader = new FXMLLoader();
        //为fxml设置要加载的fxml文件路径
        URL url = getClass().getResource("/com/neusoft/nep/common/MainView.fxml");
        //设置加载路径
        fxmlLoader.setLocation(url);
        //加载视图（NODE根节点）
        Parent root = fxmlLoader.load();
        //创建场景
        Scene scene = new Scene(root);
        //设置场景
        stage.setScene(scene);
        stage.show();
    }
}

